/*
* @Author: wangke
* @Date:   2016-06-12 10:27:36
* @Last Modified by:   wangke
* @Last Modified time: 2016-06-12 11:13:39
*/

#include <iostream>

#include "funb.h"

using namespace std; 

int funcb(int *val, int num)
{
	int xxx = 0;

	for(int nr = 0; nr < num; nr++) {
		xxx += val[nr];	
	}

	return xxx;
}
